projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae12425
)
(format-annotate-function): Set write-region-post-annotation-function.
author
Chong Yidong
<cyd@stupidchicken.com>
Thu, 22 Jan 2009 04:54:35 +0000
(
04:54
+0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Thu, 22 Jan 2009 04:54:35 +0000
(
04:54
+0000)
lisp/format.el
patch
|
blob
|
history
diff --git
a/lisp/format.el
b/lisp/format.el
index 34545810c56aa40f533bbfcfaacdefd8f676e69a..27253a2c47ddbdbd888fd4810a885cdf53290e00 100644
(file)
--- a/
lisp/format.el
+++ b/
lisp/format.el
@@
-218,6
+218,9
@@
For most purposes, consider using `format-encode-region' instead."
(multibyte enable-multibyte-characters)
(coding-system buffer-file-coding-system))
(with-current-buffer copy-buf
+ (set (make-local-variable
+ 'write-region-post-annotation-function)
+ 'kill-buffer)
(setq selective-display sel-disp)
(set-buffer-multibyte multibyte)
(setq buffer-file-coding-system coding-system))